package org.example.compent;

import com.yomahub.liteflow.annotation.LiteflowComponent;
import com.yomahub.liteflow.annotation.LiteflowMethod;
import com.yomahub.liteflow.core.NodeComponent;
import com.yomahub.liteflow.enums.LiteFlowMethodEnum;
import com.yomahub.liteflow.enums.NodeTypeEnum;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@LiteflowComponent
public class CCmp{

	@LiteflowMethod(value = LiteFlowMethodEnum.PROCESS, nodeId = "c", nodeType = NodeTypeEnum.COMMON)
	public void processSwitch(NodeComponent component)  {
		log.info("--------当前节点C-----------");
	}
}
